//
//  HJInformationOperateView.h
//  KaiChat
//
//  Created by lx on 2024/3/11.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, HJInformationOperateType) {
    HJInformationOperateLike,
    HJInformationOperateShare,
    HJInformationOperateViews,
    HJInformationOperateComment,
};

@interface HJInformationOperateView : UIView

- (instancetype)initWithTypes:(NSArray *)types;

@property (nonatomic, strong, nullable) UIButton *likeButton;
@property (nonatomic, strong, nullable) UIButton *shareButton;
@property (nonatomic, strong, nullable) UIButton *viewsButton;
@property (nonatomic, strong, nullable) UIButton *commentButton;

@property (nonatomic, copy) void (^didClickButtonBlock)(UIButton *button, HJInformationOperateType type);


@end

NS_ASSUME_NONNULL_END
